package com.neusoft.movie.v_movies.service;

import com.neusoft.movie.v_movies.javabean.ActivityBean;
import com.neusoft.movie.v_movies.javabean.MoviesBean;
import com.neusoft.movie.v_movies.javabean.ResultBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2018/1/1.
 */

public interface ActivityService {
    /*活动列表*/
    @GET("Activity/getActivitylist")
    Call<List<ActivityBean>> getActivitylist();

    /*活动详情*/
    @GET("Activity/getDetail")
    Call<ActivityBean> getDetail(
            @Query("act_id") int act_id
    );

    /*报名活动*/
    @GET("Activity/enterActivity")
    Call<ResultBean> enterActivity(
            @Query("u_id") int u_id,
            @Query("act_id") int act_id,
            @Query("e_name") String e_name,
            @Query("e_email") String e_email,
            @Query("e_address") String e_address,
            @Query("e_remarks") String e_remarks

    );

}
